package com.ssm.studen.dao;

import com.ssm.studen.model.ClassRoom;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 班级表：
 *      操作数据库方法的对接
 */
@Mapper
public interface ClassRoomDao {

    //班级添加
    int addClassRoom(ClassRoom classRoom);

    //班级修改
    int updateClassRoom(ClassRoom classRoom);

    //班级删除
    int delectClassRoom(int cnum);

    //班级查询
    List<ClassRoom> selectClassRoom(int cnum);
}
